﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace HCQ2_Model.VRDD.InputDto._211026
{
    /// <summary>
    ///  更新点播状态
    /// </summary>
    public class InputPlayStatus
    {
        /// <summary>
        ///  点播id
        /// </summary>
        [Required]
        [RegularExpression("^([1-9][0-9]*)$", ErrorMessage = "请正确传递点播id")]
        public int id { get; set; }
        /// <summary>
        ///  状态
        /// </summary>
        [Required]
        [RegularExpression("^([0,1])$", ErrorMessage = "请正确传入状态：0=待播放；1=已播放")]
        public int PlayStatus { get; set; }
    }
}